Syntax: | set the wdeType of sprite whichDistortSprite = whichDistortEffect |
||||
Type: | Sprite property | ||||
Description: | This property specifies the type of effect identified by whichDistortEffect to apply to the sprite identified by whichDistortSprite . |
||||
|
|||||
The default effect is #pond .
|
|||||
Example: | In this sprite script, when a user clicks on sprite 1, the ghost effect appears. | ||||
on mouseUp set the wdeType of Sprite 1 = #ghost end |
|||||
To try this out for yourself:
on exitFrame or on mouseDown .Note: The Distort Effect works best when applied to a bitmap image cast member. |